// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.

.ScheduledPostList {
    width: 100%;
    height: 100%;

    &.nonVirtualizedScheduledPostList {
        position: absolute;
        overflow-y: auto;
    }

    .nonVirtualizedScheduledPostRow {
        margin: 0 24px 16px 24px;

        &.firstRow {
            margin-top: 24px;
        }
    }

    .scheduledPostListErrorIndicator {
        display: flex;
        flex-direction: row;
        align-items: center;
        margin: 24px 24px 16px 24px;
        font-weight: bold;
        padding-block: 10px;
    }

    .AlertBanner {
        &__body {
            color: rgba(var(--center-channel-color-rgb), 0.75);
        }
    }

    @keyframes borderColorAnimation {
        0% {
            background: rgba(var(--mention-highlight-bg-rgb), 0.5);
        }
        100% {
            background: initial;
        }
    }

    .Panel.highlighted {
        animation: borderColorAnimation 10s;
    }
}
